﻿namespace __Able.Network
{
    public enum _ProtocolFamily : uint
    {
        /// <summary>
        /// 基本协议族
        /// </summary>
        PROTOCOL_FAMILY_BASIC = 0x1,
        /// <summary>
        /// 所有协议族
        /// </summary>
        PROTOCOL_ALL = 0xFFFFFFFF
    }

    /// <summary>
    /// 包类型定义
    /// </summary>
    public enum _HeaderFamily : byte
    {
        /// <summary>
        /// 基本协议族包头
        /// </summary>
        HEADER_BASIC_FAMILY = 0x02
    }
    /// <summary>
    /// 
    /// </summary>
    public enum _TailFamily : byte
    {
        /// <summary>
        /// 基本协议族包尾
        /// </summary>
        TAIL_BASIC_FAMILY = 0x03
    }

    public enum _Command : ushort
    {
        /// <summary>
        /// 命令常量 - 中控命令
        /// </summary>
        CMD_GCCP = 0x0001,
        /// <summary>
        /// 命令常量 - 未知命令，调试用途
        /// </summary>
        CMD_UNKNOWN = 0xFFFF,
    }
}
